package net.yunzhanyi.generic.mapper;

import net.yunzhanyi.generic.domain.model.Part;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author bestct
 */
@Mapper
public interface PartMapper {
    int deleteByPrimaryKey(Long partId);

    int insert(Part record);

    int insertSelective(Part record);

    Part selectByPrimaryKey(Long partId);

    int updateByPrimaryKeySelective(Part record);

    int updateByPrimaryKey(Part record);

    List<Part> selectByPrimaryKeys(@Param("ids") long[] ids);
}